const express = require('express');
const router = express.Router();
const userController = require('../controllers/user.server.controller');

router
    .get('/login', userController.userLogin)
    .put('/', userController.updateInfo)
    .get('/', userController.info);

module.exports = router;